package com.hrsoft.modules.expert.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hrsoft.common.utils.PageUtils;
import com.hrsoft.common.utils.Query;

import com.hrsoft.modules.expert.dao.ExpertGroupDao;
import com.hrsoft.modules.expert.entity.ExpertGroupEntity;
import com.hrsoft.modules.expert.service.ExpertGroupService;


@Service("expertGroupService")
public class ExpertGroupServiceImpl extends ServiceImpl<ExpertGroupDao, ExpertGroupEntity> implements ExpertGroupService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ExpertGroupEntity> page = this.page(
                new Query<ExpertGroupEntity>().getPage(params),
                new QueryWrapper<ExpertGroupEntity>()
        );

        return new PageUtils(page);
    }

}